<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column
      :prop="item.prop"
      :label="item.label"
      :width="item.width"
      v-for="item in columns"
      :key="item"
    />
  </el-table>
</template>

<script>
    export default {
    props: {
        tableData: {
            type:Array
        },
        columns: {
            type:Array
        },
    }
    }
</script>

<style lang="less" scoped>

</style>